package xcmg.device.dao.mapper.returnMaterial;

import org.apache.ibatis.annotations.Mapper;
import xcmg.device.dao.entity.returnMaterial.ReturnMaterialDetailDO;

import java.util.List;

@Mapper
public interface ReturnMaterialDetailMapper {

    boolean insert(ReturnMaterialDetailDO returnMaterialDetailDO);

    boolean updateById(ReturnMaterialDetailDO returnMaterialDetailDO);

    List<ReturnMaterialDetailDO> selectList(ReturnMaterialDetailDO returnMaterialDetailDO);

    boolean deleteById(ReturnMaterialDetailDO returnMaterialDetailDO);

    boolean delete(ReturnMaterialDetailDO returnMaterialDetailDO);

    boolean batchDeleteByReturnId(List<String> returnIds);

    boolean batchInsert(List<ReturnMaterialDetailDO> returnMaterialDetailDOList);

}
